<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<div id="gotopbtn"><img src="${images_ctx }/gotop.gif" width="30px" height="30px" title="回到顶部&uarr;"/></div>  
<script type="text/javascript">  
  idTest=document.getElementById('gotopbtn');  
  idTest.onclick=function (){  
      document.documentElement.scrollTop=0;  
      sb();  
  }  
  window.onscroll=sb;  
  function sb(){  
      if(document.documentElement.scrollTop==0){  
          idTest.style.display="none";  
      }else{  
          idTest.style.display="block";  
      }  
  }  
  function buffer(a,b,c){var d;return function(){if(d)return;d=setTimeout(function(){a.call(this),d=undefined},b)}}(function(){function e(){var d=document.body.scrollTop||document.documentElement.scrollTop;d>b?(a.className="div1 div2",c&&(a.style.top=d-b+"px")):a.className="div1"}var a=document.getElementById("float");if(a==undefined)return!1;var b=0,c,d=a;while(d)b+=d.offsetTop,d=d.offsetParent;c=window.ActiveXObject&&!window.XMLHttpRequest;if(!c||!0)window.onscroll = buffer(e,150,this)})();
</script>